home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-01-12 | 742 b | 22 lines | [TEXT/ToyS] |
- -- A post-process script to FTP the last image to a remote location.
- -- This script uses a two step process to minimize the time that a image
- -- is unavailable to the http server.
- -- Any attept to FTP an image from the Mac to a remote http server could
- -- result in errors due to read/write contention.
- -- Use at your own risk!
-
- -- To use:
- -- Change the variables below, and add passwords, if needed.
-
- tell application "Anarchie"
-
- set ftptempfile to "/yourpath/temp.jpg"
- set ftpdestfile to "/yourpath/current.jpg"
- set yourFTPHost to "ftp.yourhost.com"
- set yourLocalImage to "RAM Disk:Image.jpg"
-
- store file yourLocalImage host yourFTPHost path ftptempfile
- rename host yourFTPHost path ftptempfile newname ftpdestfile
-
- end tell
-